﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OleDb;
using Contributor.Data_Objects;

namespace Contributor
{
    public class AppConfig
    {

        public static string ConnectionStr
        {
            get;
            set; 
        }


        public static OleDbConnection DbConnection
        {
            get
            {
                OleDbConnection con = new OleDbConnection(ConnectionStr);
                con.Open();
                return con;
            }
        }

        public static List<Lookup> LookupTable { get; set; }
        public static List<LookupType> LookupTypes { get; set; }
    }
}
